<?php

namespace App\Admin\Actions\Grid\Tools;

use Dcat\Admin\Grid\Tools\AbstractTool;

class BaseTools extends AbstractTool
{
    protected $icon = "";

    protected $style = "";


    protected function html()
    {
        $this->appendHtmlAttribute('class', $this->style);

        return <<<HTML
            <button {$this->formatHtmlAttributes()}> <i class="feather {$this->icon}"></i> {$this->title()}</button>
        HTML;
    }
}
